🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / feature / map / src / androidMain / kotlin / org / meshtastic / feature / map / component / WaypointInfoDialogPreviews.kt
Displaying Raw • Download
feature/map/src/androidMain/kotlin/org/meshtastic/feature/map/component/WaypointInfoDialogPreviews.kt 83ed71d452ee7bd23a1ebbfe0f6d42b913fe6ae7 (83ed71d4) Text, 2.22 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.feature.map.component
Tff7b72import T7ee787androidx.compose.runtime.Composable
Tff7b72import T7ee787androidx.compose.ui.tooling.preview.PreviewLightDark
Tff7b72import T7ee787org.meshtastic.core.ui.theme.AppTheme
Tff7b72import T7ee787org.meshtastic.proto.Config.DisplayConfig.DisplayUnits
Tff7b72import T7ee787org.meshtastic.proto.Waypoint
Tff7b72private Tff7b72fun Td2a8ffsampleGeofenceTb4b4b4(Te6edf3lockedToTb4b4b4: Tffa657IntTb4b4b4) Tff7b72= Te6edf3WaypointTb4b4b4(
Te6edf3id Tff7b72= T79c0ff4T79c0ff2Tb4b4b4,
Te6edf3name Tff7b72= Ta5d6ff"Ta5d6ffTrailheadTa5d6ff"Tb4b4b4,
Te6edf3description Tff7b72= Ta5d6ff"Ta5d6ffNorth gate of the reserveTa5d6ff"Tb4b4b4,
Te6edf3latitude_i Tff7b72= T79c0ff3T79c0ff7T79c0ff7Te6edf3_749_000Tb4b4b4,
Te6edf3longitude_i Tff7b72= Tff7b72-T79c0ff1Te6edf3_224_194_000Tb4b4b4,
Te6edf3geofence_radius Tff7b72= T79c0ff5T79c0ff0T79c0ff0Tb4b4b4,
Te6edf3notify_on_enter Tff7b72= Tff7b72trueTb4b4b4,
Te6edf3locked_to Tff7b72= Te6edf3lockedToTb4b4b4,
Tb4b4b4)
T8b949e/** Locked foreign geofence: read-only, opt-in off, no Edit affordance. */
Tf0883e@PreviewLightDark
Tf0883e@Composable
Tf0883e@SuppressTb4b4b4(Ta5d6ff"Ta5d6ffPreviewPublicTa5d6ff"Tb4b4b4)
Tff7b72fun Td2a8ffWaypointInfoDialogReadOnlyPreviewTb4b4b4(Tb4b4b4) Tb4b4b4{
Te6edf3AppTheme Tb4b4b4{
Te6edf3WaypointInfoDialogTb4b4b4(
Te6edf3waypoint Tff7b72= Te6edf3sampleGeofenceTb4b4b4(Te6edf3lockedTo Tff7b72= T79c0ff7Tb4b4b4)Tb4b4b4,
Te6edf3displayUnits Tff7b72= Te6edf3DisplayUnitsTb4b4b4.Te6edf3METRICTb4b4b4,
Te6edf3alertsEnabled Tff7b72= Tff7b72falseTb4b4b4,
Te6edf3onToggleAlerts Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4,
Te6edf3onDismissRequest Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4,
Te6edf3onEdit Tff7b72= Tff7b72nullTb4b4b4,
Tb4b4b4)
Tb4b4b4}
Tb4b4b4}
T8b949e/** Unlocked foreign geofence: opted in, with the Edit affordance into the full editor. */
Tf0883e@PreviewLightDark
Tf0883e@Composable
Tf0883e@SuppressTb4b4b4(Ta5d6ff"Ta5d6ffPreviewPublicTa5d6ff"Tb4b4b4)
Tff7b72fun Td2a8ffWaypointInfoDialogOptedInPreviewTb4b4b4(Tb4b4b4) Tb4b4b4{
Te6edf3AppTheme Tb4b4b4{
Te6edf3WaypointInfoDialogTb4b4b4(
Te6edf3waypoint Tff7b72= Te6edf3sampleGeofenceTb4b4b4(Te6edf3lockedTo Tff7b72= T79c0ff0Tb4b4b4)Tb4b4b4,
Te6edf3displayUnits Tff7b72= Te6edf3DisplayUnitsTb4b4b4.Te6edf3METRICTb4b4b4,
Te6edf3alertsEnabled Tff7b72= Tff7b72trueTb4b4b4,
Te6edf3onToggleAlerts Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4,
Te6edf3onDismissRequest Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4,
Te6edf3onEdit Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4,
Tb4b4b4)
Tb4b4b4}
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.06s